Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add EFI Hirth simulator #25497

Closed
wants to merge 9 commits into from

Conversation

peterbarker
Copy link
Contributor

.... and fix the MegSquirt one a little


// sums the bytes in the supplied buffer, returns that sum mod 256
// (i.e. shoved into a uint8_t)
uint8_t sum_of_bytes_in_buffer_mod_256(uint8_t *data, uint16_t count)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


void EFI_Hirth::update()
{
auto sitl = AP::sitl();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not const auto *sitl = AP::sitl(); like below?

status EFI_STATUS

./Tools/autotest/autotest.py --gdb --debug build.Plane test.Plane.Hirth

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Want to drop a link to the manufacturer's docs so one could cross-reference against the packet definitions?

@peterbarker peterbarker deleted the pr/master-sim-hirth branch November 15, 2023 05:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants